package com.yfl.tingyu.mapper;

import com.yfl.tingyu.pojo.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-05-31
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    @Select("select * from t_role_menu where rid=#{rid}")
    List<RoleMenu> seleteRoleMenu(Integer rid);
}
